// 输入年月日时分秒 星期几
// ctrl + /   单行注释  ctrl + shift + / 多行注释
let d = new Date()
let yyyy = d.getFullYear()

//
let mm = d.getMonth() + 1
let dd = d.getDate().toString().padStart(2,'0')
let hh = String(d.getHours()).padStart(2,'0')
let mi = String(d.getMinutes()).padStart(2,'0')
let ss = String(d.getSeconds()).padStart(2,'0')
let wks = '星期'.concat('日一二三四五六'.charAt(d.getDay()))
let info = `${yyyy}年${String(mm).padStart(2,'0')}月${dd}日 ${hh}:${mi}:${ss} ${wks}`
console.log(info)

